package my.xiaobei_auto.common;

public enum ResultEnum {
    // 成功状态码
    SUCCESS("00000","成功"),
    // -------------------失败状态码----------------------

    USER_PASSWORD_ERROR("A0210","用户名或密码错误"),

    SYSTEM_RUN_REEOR("B0001","系统执行出错");

    private String code;
    private String msg;

    ResultEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
